package com.qqtech.qquan.circle.service;

import com.qqtech.core.common.exception.BizzException;
import com.qqtech.core.frame.service.BaseService;
import com.qqtech.qquan.circle.model.CircleInvite;

public interface CircleInviteService extends BaseService<CircleInvite> {
	
	public int addCircleInvite(CircleInvite circleInvite) throws BizzException;
	
	public boolean isCircleInviteExist(Integer inviterId,Integer beInviterId, Integer circleId);
	
	public int accept(CircleInvite circleInvite) throws BizzException;
	
	public int ignore(CircleInvite circleInvite) throws BizzException;

	/**
	 * 删除圈子邀请
	 * @param circleInvite
	 * @return
	 * @throws BizzException
	 */
	public int remove(CircleInvite circleInvite) throws BizzException;
	
}